<template>
  <div class="video">
    <video autoplay loop id="bgvid" muted>
      <source src="../assets/video/背景视频.mp4" type="video/mp4" />
    </video>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
video#bgvid {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  background-size: cover;
}
</style>